<template>
  <div>
    <swiper auto height="150px">
      <swiper-item class="black"><h2 class="title fadeInUp animated">它无孔不入</h2></swiper-item>
      <swiper-item class="black"><h2 class="title fadeInUp animated">你无处可藏</h2></swiper-item>
      <swiper-item class="black"><h2 class="title fadeInUp animated">不是它可恶</h2></swiper-item>
      <swiper-item class="black"><h2 class="title fadeInUp animated">而是它不懂你</h2></swiper-item>
      <swiper-item class="black"><h2 class="title fadeInUp animated">我们试图</h2></swiper-item>
      <swiper-item class="black"><h2 class="title fadeInUp animated">做些改变</h2></swiper-item>
    </swiper>
    <previewer :list="imglist" ref="previewer"></previewer>
  </div>
</template>

<script>
  import {Panel, Swiper, SwiperItem, TransferDom, Previewer, Tab, TabItem} from 'vux'

  export default {
    components: {
      Panel, Previewer, Swiper, SwiperItem, Tab, TabItem
    },
    directives: {
      TransferDom
    },
    data() {
      return {
        type: "5",
        imglist: []
      }
    },
    methods: {}

  }
</script>
<style lang="less">
  .info {
    margin-left: 10px;
  }

  .title {
    line-height: 100px;
    text-align: center;
    color: #fff;
  }

  .black {
    background-color: #7b0614;
  }

  .animated {
    animation-duration: 1s;
    animation-fill-mode: both;
  }

  @-webkit-keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translate3d(0, 100%, 0);
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translate3d(0, 100%, 0);
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }

  .fadeInUp {
    animation-name: fadeInUp;
  }
</style>
